package com.ma.Dao;

import com.ma.entity.Teacher;
import com.ma.entity.TeacherVO;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import org.springframework.web.bind.annotation.PostMapping;

/**
 * @ProjectName: project
 * @Package: com.ma.Dao
 * @ClassName: TeacherDao
 * @Author: YHHHH
 * @Description:
 * @Date: 2021/3/29 16:32
 * @Version: 1.0
 */
@Mapper
public interface TeacherDao {
    /*
    老师登陆
     */
    TeacherVO loginTeacher(@Param("id") Integer id);

    /*
    返回详细的老师信息
     */
    Teacher teacherData(@Param("id") Integer id);
    /*
    找到老师的专业
     */
    Integer findTeacherMajor(@Param("id")Integer id);

}
